'''
* This is the projet for Brtc LlmOps Platform
* @Author Leon-liao <liaosiliang@alltman.com>
* @Description //TODO 
* @File: 2_study_markdown_loader.py
* @Time: 2025/8/20
* @All Rights Reserve By Brtc
'''
from langchain_community.document_loaders import UnstructuredMarkdownLoader

#loader = UnstructuredMarkdownLoader("./project_api.md")
loader = UnstructuredMarkdownLoader("./project_api.md",mode="elements")
docs = loader.load()

print(f"文档数量: {len(docs)}")

for document in docs:
    print(document)

testList = [1,2,3,4,5,6]
print(testList[2:])

